package com.work.framework.pojo;

import java.math.BigDecimal;

/**
 * 流水表
 */
public class MoneyHistory {

  private Integer hid;      //流水编号（主键）
  private Integer h_type;    //类型（0.手续费 1.充值 2.提现 3.收违约金）
  private String h_time;     //时间
  private BigDecimal price; //金额
  private Integer flag;    //软删除
  private Integer uid;      //用户编号（用户表主键）

  public Integer getHid() {
    return hid;
  }

  public void setHid(Integer hid) {
    this.hid = hid;
  }

  public Integer getH_type() {
    return h_type;
  }

  public void setH_type(Integer h_type) {
    this.h_type = h_type;
  }

  public String getH_time() {
    return h_time;
  }

  public void setH_time(String h_time) {
    this.h_time = h_time;
  }

  public BigDecimal getPrice() {
    return price;
  }

  public void setPrice(BigDecimal price) {
    this.price = price;
  }

  public Integer getFlag() {
    return flag;
  }

  public void setFlag(Integer flag) {
    this.flag = flag;
  }

  public Integer getUid() {
    return uid;
  }

  public void setUid(Integer uid) {
    this.uid = uid;
  }

  @Override
  public String toString() {
    return "MoneyHistory{" +
            "hid=" + hid +
            ", h_type=" + h_type +
            ", h_time='" + h_time + '\'' +
            ", price=" + price +
            ", flag=" + flag +
            ", uid=" + uid +
            '}';
  }
}
